package com.oracle.malldemo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Items extends BaseEntity {

    private Integer id; //商品编号
    private String name; //商品名称
    private String pic; //商品图片地址
    private double price; //单价
    private int number; //库存数量
    private String catalog; //商品类别名称
    private int buyNum; //购买数量

    private String city; //产地
    private String property; //属性
    private String province; //省份
    private int shopId; //店铺的编号
    private String shopName; //店铺的名称
    private int discount; //是否打折
    private int buyCount; //销售数量
    private int status; //状态，1，上架  0下架
    private String createTime; //创建时间
    private boolean flag ; //是否删除
    private boolean isFreePost; //是否包邮
    private String modifyTime; //修改时间
    private int version; //版本号

}
